package edu.java.homework.hw09.exercises.person;

public class PersonTest {

    /**
     * @param args
     */
    public static void main(String[] args) {
	Person persona1 = new Person(null, "Vasilev", "Petrov", 40,
		Gender.MALE, "Sofiq", 2);
	Person persona2 = new Person("Dimitrichka", "Pencheva", "Nikolova", 32,
		Gender.FEMALE, "Karnobat", 1);
	persona1.equals(persona2);

	Person[] persons1 = PersonSorter.createPersonsArray();
	Person[] persons2 = PersonSorter.createPersonsArray();
	// sortsPersonsArray1(persons1);
	// printPersonsArray(persons1);
	//	
	PersonSorter.sortsPersonsArray1(persons2);
	PersonSorter.printPersonsArray(persons2);

	// ---------------------------------------------------------------------
	// Person persona0 = new Person("Temelko", "Kodjabashev", "Munchev", 23,
	// Gender.MALE, "Kipesh", 1);
	//
	// System.out.println(persona0);
	//
	// Person persona1 = new Person("Petyr", "Vasilev", "Petrov", 40,
	// Gender.MALE, "Sofiq", 2);
	// Person persona2 = new Person("Dimitrichka", "Pencheva", "Nikolova",
	// 32,
	// Gender.FEMALE, "Karnobat", 1);
	// Person persona3 = new Person("Pencho", "Minchev", "Asenov", 65,
	// Gender.MALE, "Blagoevgrad", 3);
	// Person persona4 = new Person("Violeta", "Georgieva", "Deneva", 15,
	// Gender.FEMALE, "Asenovgrad", 0);
	// Person persona5 = new Person("Stoencho", "Borisov", "Dimitrov", 23,
	// Gender.MALE, "Montana", 0);
	// Person persona6 = new Person("Krasimira", "Zheliazkova", "Popova",
	// 35,
	// Gender.FEMALE, "Velingrad", 2);
	// Person persona7 = new Person("Sijka", "Kirova", "Vasileva", 43,
	// Gender.FEMALE, "Dobrich", 8);
	// Person persona8 = new Person("Isuscho", "Hristoskov", "Hristoskov",
	// 15,
	// Gender.MALE, "Stara Zagora (Lozenes)", 3);
	// Person persona9 = new Person("Krasimira", "Tileva", "Stoianova", 27,
	// Gender.FEMALE, "Lovech", 1);
	// Person persona10 = new Person("Vasilka", "Petrova", "Aleksandrova",
	// 55,
	// Gender.FEMALE, "Shumen", 2);
	// Person persona11 = new Person("Zdravka", "Zheliazkova", "Chilikova",
	// 38, Gender.FEMALE, "Yambol", 1);
	// Person persona12 = new Person("Petyr", "Angelov", "Jordanov", 47,
	// Gender.MALE, "Smolian", 2);
	//	
	//	
	//	
	// Person persona15 = new Person("Stoencho", "Borisov", "Dimitrov", 23,
	// Gender.MALE, "Montana", 0);
	//	
	// Person persona13 = new Person("Petyr", "Angelov", "Jordanov", 47,
	// Gender.MALE, "Smolian", 2);
	//
	// // System.out.println(persona0.equals(persona10));
	// // System.out.println(persona5.equals(persona15));
	//	
	// System.out.println(persona0.compareTo(persona12));
	// System.out.println(persona1.compareTo(persona12));
	//	
	// System.out.println(persona12.compareTo(persona13));
    }
}
